lst = [0, 1, 2, 3, 4, 5]
print(lst[:])
# 获取列表的前n个元素：lst[:n]
print(lst[1:])
print(lst[1:3])
# 获取列表的后n个元素：lst[-n:]
print(lst[-3:])


def main() -> None:
    nameList = ["Harsh", "Pratik", "Bob", "Dhruv"]

    pos = nameList.index("GeeksforGeeks")

    print(pos * 3)


if __name__ == "__main__":
    main()
